<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title></title>
    <script type="text/javascript" src="/js/jquery-1.3.2.min.js">
    </script>

</head>
<body>

<div id="text-container1">
    <form action="/_ah/xmpp/message/chat/" method="post">
        <input type="submit" name="save" value="submit">
    </form>

</div>

<div id="text-container2">

</div>

<script type="text/javascript">
    $(document).ready(function () {
        //cron();
    });

    //setInterval(cron, 30 * 1000); //every 1 mins
    function cron() {
        $("#text-container1").html("cron called!<br/>");
        $.ajax({
            url: "/cron/downloadLatestPrice?bypass=true",
            type: "GET",
            dataType: "text",
            success: function(data) {
                $("#text-container2").html(data);
            }
        });
        window.focus();
    }

    
</script>
</body>
</html>